﻿var server = require("./server");
var router = require("./router");
var requestHandlers = require("./requestHandler");

var handle = {
	"/": requestHandlers.start,
	"/start": requestHandlers.start,
	"/upload": requestHandlers.upload,
	"/test": requestHandlers.test
};	
/*
handle["/"] = requestHandlers.start;
handle["/start"] = requestHandlers.start;
handle["/upload"] = requestHandlers.upload;
*/

server.start(router.route, handle);